package com.vcredit.creditcat.service;

import com.vcredit.creditcat.model.ClickLog;
import com.vcredit.creditcat.persistence.base.ClickLogMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liaoshengjun on 2017/7/25.
 */
@Service
public class ClickLogService {
	@Autowired
	private ClickLogMapper mapper;
	public void insert(ClickLog obj){
		mapper.insert(obj);
	}
	public ClickLog findById(Long id){
		return mapper.findById(id);
	}
	public List<ClickLog> find(ClickLog obj){
		return mapper.find(obj);
	}
}
